package com.tuniu.agents.common.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Chat record data transfer object
 * Used to receive query parameters from the frontend
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ChatRecordDTO {
    private String conversationId; // Unique identifier for the conversation
    private String userId; // Unique identifier for the user
    private String questionId;  // Corresponds to requestId
    private Integer page = 0; // Page number for pagination
    private Integer size = 6; // Number of records per page
    private Boolean fetchAll = false; // Flag to fetch all records
    
    // Additional query conditions can be added
    private String startTime; // Start time for the query
    private String endTime; // End time for the query
    private Integer messageType; // Type of message
}